package com.xds.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * @author : baixu
 * @date : 10:46 2021/12/17
 */
@Data
public class SearchParam {
    private String keyword;//页面传递过来的参数
    private Long catalog3Id;//三级分类id
    /**
     *  sort=saleCount_asc/desc
     *  sort=skuPrice_asc/desc
     *  sort=hotScore_asc/desc
     */
    private String sort;//排序条件
    /**
     * 过滤条件 hasStock skuPrice区间 brandId catalog3Id ,attrs
     */
    private Integer hasStock;//是否只显示有货
    private String skuPrice;//价格区间 skuPrice=1_500/_500/500_
    private List<Long> brandId;//按照品牌id
    private List<String> attrs;//按照属性进行筛选
    private Integer pageNum=1;//页码
    private String _queryString;//原生的查询条件
}
